package com.cyzy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cyzy.dao.CourseCampus;
import com.cyzy.pojo.Campus;
import com.cyzy.pojo.CourseCategory;

import java.util.List;

public interface CourseManageService {
    Page<CourseCampus> selectAllCourse(CourseCampus courseCampus, int pageSize, int pageNum);

    List<CourseCategory> selectAllCategory(CourseCategory courseCategory);

    List<CourseCampus> getCourse(CourseCampus courseCampus);

    int addCourse(CourseCampus courseCampus);

    int updateCourse(CourseCampus courseCampus);

    int deleteCourse(List<Integer> courseIds);

    int updateCourseStatus(CourseCampus courseCampus);
}
